package org.example.aliyun;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author scout.du
 * @date 2025/10/21 14:05
 **/
public class Test {

    public static void main(String[] args) {

        String name = Parameter.Name.URL_iOS.name();
        System.out.println(name);
    }

    @Data
    @Builder(toBuilder = true)
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Parameter {

        public enum Name {
            // this is how the parameters are named in the incoming message
            PASSWORD, VIN, URL, URL_iOS, FriendlyName, DaysToExpire
        }

        private String name;

        private String value;
    }
}
